﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace BanditGame2.Objects
{
    public partial class Guardian : UserControl, IBlockAnimation
    {
        public Guardian()
        {
            InitializeComponent();
        }

        private Position _Position = new Position();
        private Position _DefaultPosition = new Position();
        private DoubleAnimation _HorizontalTimeLine = new DoubleAnimation();
        private DoubleAnimation _VerticalTimeLine = new DoubleAnimation();

        private bool _chasing;
        public bool Chasing
        {
            get { return _chasing; }
            set { _chasing = value; }
        }
        
        private bool _isAlive;
        public bool IsAlive
        {
            get { return _isAlive; }
            set { _isAlive = value; }
        }


        private int _difficulty;
        public int Difficulty
        {
            get { return _difficulty; }
            set { _difficulty = value; }
        }

        private int _radius;
        public int Radius
        {
            get { return _radius; }
            set { _radius = value; }
        }

        #region Implementation of IBlockPosition

        public Position position
        {
            get
            {
                return _Position;
            }
            set
            {
                _Position = value;
            }
        }

        public Position defaultPosition
        {
            get
            {
                return _DefaultPosition;
            }
            set
            {
                _DefaultPosition = value;
            }
        }

        #endregion

        #region Implementation of IBlockAnimation

        public DoubleAnimation HorizontalTimeLine
        {
            get
            {
                return _HorizontalTimeLine;
            }
            set
            {
                _HorizontalTimeLine = value;
            }
        }

        public DoubleAnimation VerticalTimeLine
        {
            get
            {
                return _VerticalTimeLine;
            }
            set
            {
                _VerticalTimeLine = value;
            }
        }

        #endregion
    }
}
